import * as React from 'react';

export function Set() {
  let [num, setNum] = React.useState(0);

  function ss() {
    setNum(num + 1);
  }

  return (
    <>
      <button onClick={ss}>num:{num}</button>
    </>
  );
}
